/* 
    Document   : style
    Created on : 11 déc. 2012, 15:24:42
    Author     : CDI215
    Description:
        Purpose of the stylesheet follows.
*/

/* Général ------------------------------------------------------------------------------------- */

body{
    width: 800px;
    margin: auto;
    background-color:#f0f5f7;
}

body, p, legend, label, input {
    font: normal 8pt verdana, helvetica, sans-serif;
}

a{
    color: #0568CD;
}

a:visited{
    color: grey;
}

/* header ------------------------------------------------------------------------------------- */

#header{
    background-image: url('fond_small.jpg');
    width:800px;
    height: 118px;
    float:left;
    margin-top:5px;
    margin-bottom: 5px;
    background-color: #d1e3ed;
    border-radius:15px;
    -moz-border-radius:15px; /* Firefox 3.6 and earlier */
}

#header h1{
    /*color: white;*/
    font-size: 24pt;
    font-weight: bold;
    text-align: center;
    font-variant: small-caps;
    font-family: new courrier, monospace;
    margin: 5px 0px 0px 0px;
}

#header h2{
    font-size: 10pt;
    text-align: center;
    font-style: italic;
    font-family: new courrier, monospace;
    margin: 0px 0px 0px 0px;
}

#header p{
    text-align: right;
    font-size: 10pt;
    margin: 35px 15px 0px 0px;
}

#nom{
    font-weight: bold;
    color: #0568CD;
}

#header a:hover{
    background-color: white;
}

/* corps de la page ------------------------------------------------------------------------ */

#article{
    width:598px;
    height: 873px;
    float:left;
    margin-right: 2px;
    background-color: white;
    border-radius:15px;
    -moz-border-radius:15px; /* Firefox 3.6 and earlier */
}

#article_cata{
    width:598px;
    float:left;
    margin-right: 2px;
    background-color: white;
    border-radius:15px;
    -moz-border-radius:15px; /* Firefox 3.6 and earlier */
}

#article_cata table{
    width: 580px;
    margin-left: auto;
    margin-right: auto;
    margin-top:10px;
}

#article h2{
    font-weight:normal; 
    color: #0568CD;
    margin:20px 20px 20px 20px;
}

#article h3{
    font-weight:normal; 
    color: #0568CD;
    margin:10px 20px 10px 50px;
}

#article p{
    margin: 0px 10px 0px 20px;
    font-size: 100%;
}

#livre{
    width: 580px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

#livre img{
    margin: 0px 10px 0px 20px;
    float: left;
    width:83px;
    height:135px;
}

#pagination{
    text-align: center;
    margin: 20px 0px 20px 0px;
}

.thumb{
    width:83px;
    height:135px;
}

/* nav ------------------------------------------------------------------------------------- */
#nav{
    width:196px;
    height: 873px;
    float:left;
    font-size:12px;
    margin-left: 2px;
    background-color: #d1e3ed;
    border-radius:15px;
    -moz-border-radius:15px; /* Firefox 3.6 and earlier */
}

/* footer ------------------------------------------------------------------------------------- */
#footer{
    width:800px;
    height:28px;
    float:left;
    background-color: #d1e3ed;
    margin-top:5px;
    margin-bottom: 5px;
    border-radius:15px;
    -moz-border-radius:15px; /* Firefox 3.6 and earlier */
}

#footer p{
    text-align: right;
    font-size: 10pt;
    margin: 5px 10px 0px 0px;
}

#footer a:hover{
    background-color: white;
}

/* Forms --------------------------------------------------------------------------------------- */
fieldset, .bloc {
    padding: 10px;
    border: 1px #0568CD solid;
    margin: 10px;
}

fieldset{
    border-radius:10px;
    -moz-border-radius:10px; /* Firefox 3.6 and earlier */
}

legend, #titre {
    font-weight: bold;
    color: #0568CD;
}

form label {
    float: left;
    width: 160px;
    margin: 3px 0px 0px 0px;
}

input.nav_cata{

}

form input, select#listquestion {
    margin: 3px 3px 0px 0px;
    border: 1px #999 solid;
}

select#listquestion, textarea#contactText, input#contactMail, input#contactSujet {
    width: 250px;
}

textArea.sanslabel {
    margin: 3px 3px 0px 160px;
    border: 1px #999 solid;
}

form input.sanslabel {
    margin-left: 160px;
}

form .erreur {
    color: #900;
}

form .succes {
    color: #090;
}

#nbpage{
    width: 360px;
    margin: auto;
}

#nbpage form label{
    width: 200px;
}
 

/* Tableaux -------------------------------------------------------------------------------------*/

table{
    border-collapse: collapse;
}
tr.pair{
    background-color: #efefef;
}
tr.impair{
    background-color: #fff;	
}
th{
    color: #0568CD;
    border: 0px solid #0568CD;
    padding: 5px;
    text-align: center;
}
th.action{
    border: 0px solid #900;
    color: #900;
    text-align: center;
}
td{
    border: 0px solid #ddd;
    padding: 5px;
    text-align: center;
}
td.action{
    text-align: center;
}
td.actionred{
    text-align: center;
    color: #900;
}

/* Styles et couleurs -------------------------------------------------------------------------- */
.requis {
    color: #c00;
}

.erreur {
    color: #900;
}

.succes {
    color: #090;
}

.info {
    font-style: italic;
    color: #E8A22B;
}